package com.cskaoyan.service.goods;

import com.cskaoyan.bean.goods.Goods;
import com.cskaoyan.bo.goods.GoodsCreateAndUpdateBo;
import com.cskaoyan.bo.goods.GoodsPageAndSortBo;
import com.cskaoyan.vo.goods.*;

public interface GoodsService {
    GoodsListVo goodsList(GoodsPageAndSortBo pageAndSortBo);

    Integer goodsCreate(GoodsCreateAndUpdateBo goodsCreateBo);

    Integer goodsDelete(Goods goods);

    Integer goodsUpdate(GoodsCreateAndUpdateBo goodsUpdateBo);

    GoodsDetailVo goodsDetail(Integer id);

    GoodsCatAndBrandVo queryCatAndBrand();

    WxGoodsCountVo countGoods();

    WxGoodsListVo wxQueryGoodsList(Integer categoryId, Integer page, Integer size);

    WxGoodsCategoryVo wxQueryGoodsCategory(Integer id);

    WxGoodsDetailVo wxGoodsDetail(Integer id);

    WxGoodsRelatedVo goodsRelated(Integer id);
}
